home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / C_BAR1.ARJ / BARDEMO.C < prev    next >
C/C++ Source or Header  |  1992-02-27  |  483b  |  20 lines

  1. /*
  2.  * bardemo - demonstrate barcode printing subroutine
  3.  * written 1988 David J. Rodman, Paradise Technology, Inc.
  4.  * 70007,1545
  5.  * PUBLIC DOMAIN
  6.  *
  7.  * Note:  Experiment with the resolution using your barcode reader -
  8.  *    some readers like it thicker, some like it thinner.
  9.  * This program barcodes its arguments to its standard output.
  10.  * Typical usage:  bardemo arg arg arg >prn
  11.  */
  12. #include <stdio.h>
  13.  
  14. main(ac, av)
  15.     char **av;
  16. {
  17.     while(++av, --ac)
  18.         bar(*av);
  19. }
  20.